/**
*   \file   sphereray.h
*   \author Dave Reid
*   \brief  Header file for checking for an intesection of a Sphere and a Ray.
*/
#ifndef __EAGL_INTERSECT_SPHERERAY_H_
#define __EAGL_INTERSECT_SPHERERAY_H_

#include "../types.h"

namespace eagl
{

struct INTERSECT_RESULT_SPHERERAY
{
    /// The intersection point.
    vec3 intersectPos;
};

inline bool intersect_sphereray(float sphereRadius, const vec3 &spherePosition,
                                const vec3 &rayOrigin, const vec3 &rayDirection,
                                INTERSECT_RESULT_SPHERERAY *result = NULL)
{
    return false;
}

}


#endif  // __EAGL_INTERSECT_SPHERERAY_H_